package me.militch.quickcore.mvp.presenter;

import android.app.Activity;
import android.app.Fragment;

import io.reactivex.Flowable;
import me.militch.quickcore.event.ViewEvent;
import me.militch.quickcore.mvp.IPresenter;
import me.militch.quickcore.util.ApiException;
import me.militch.quickcore.util.EventCall;
import me.militch.quickcore.mvp.model.ModelHelper;
import me.militch.quickcore.util.RespBase;

public interface IQuickPresenter extends IPresenter{
    /**
     * 提供Service
     * @param serviceClass 指定Service类
     * @param <T> Service类型
     * @return Service对象
     */
    <T> T service(Class<T> serviceClass);
    /**
     * 提供Model助手类
     * @return Model助手对象
     */
    ModelHelper modelHelper();
}
